package edu.sctu.practice.class02.shuqiqi;

/**
 * Created by shuqi on 2015/9/18.
 */
public class HomeDog extends Dog {

    public HomeDog(String name, int age) {
    }

    public void confirm1() {
        if (age > 5) {
            printColor();
            printName();
        } else {
            printColor();
            printName();
            printNumber();
            printSex();
        }
    }
}